package com.kedsoft.andaily.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2019-04-10
 */
@TableName("pt_normal")
public class Normal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer projectid;
    private String projectname;
    private String projectcode;
    private Integer routerid;
    private String routername;
    private Integer cunsumerid;
    private String cunsumername;
    private String cunsumermobile;
    private String factoryname;
    private String factoryuser;
    private String factoryphone;
    private Integer tasktype;
    private Integer boardid;
    private String boardname;
    private String voltmark;
    private String volume;
    private String usertype;
    private BigDecimal boardlng;
    private BigDecimal boardlat;
    private String content;
    private String working;
    private String workimg;
    private String taskdate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gettime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date optime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stoptime;
    private Integer assess;
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getProjectcode() {
        return projectcode;
    }

    public void setProjectcode(String projectcode) {
        this.projectcode = projectcode;
    }

    public Integer getRouterid() {
        return routerid;
    }

    public void setRouterid(Integer routerid) {
        this.routerid = routerid;
    }

    public String getRoutername() {
        return routername;
    }

    public void setRoutername(String routername) {
        this.routername = routername;
    }

    public Integer getCunsumerid() {
        return cunsumerid;
    }

    public void setCunsumerid(Integer cunsumerid) {
        this.cunsumerid = cunsumerid;
    }

    public String getCunsumername() {
        return cunsumername;
    }

    public void setCunsumername(String cunsumername) {
        this.cunsumername = cunsumername;
    }

    public String getCunsumermobile() {
        return cunsumermobile;
    }

    public void setCunsumermobile(String cunsumermobile) {
        this.cunsumermobile = cunsumermobile;
    }

    public String getFactoryname() {
        return factoryname;
    }

    public void setFactoryname(String factoryname) {
        this.factoryname = factoryname;
    }

    public String getFactoryuser() {
        return factoryuser;
    }

    public void setFactoryuser(String factoryuser) {
        this.factoryuser = factoryuser;
    }

    public String getFactoryphone() {
        return factoryphone;
    }

    public void setFactoryphone(String factoryphone) {
        this.factoryphone = factoryphone;
    }

    public Integer getTasktype() {
        return tasktype;
    }

    public void setTasktype(Integer tasktype) {
        this.tasktype = tasktype;
    }

    public String getBoardname() {
        return boardname;
    }

    public void setBoardname(String boardname) {
        this.boardname = boardname;
    }

    public BigDecimal getBoardlng() {
        return boardlng;
    }

    public void setBoardlng(BigDecimal boardlng) {
        this.boardlng = boardlng;
    }

    public BigDecimal getBoardlat() {
        return boardlat;
    }

    public void setBoardlat(BigDecimal boardlat) {
        this.boardlat = boardlat;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getWorking() {
        return working;
    }

    public void setWorking(String working) {
        this.working = working;
    }

    public String getWorkimg() {
        return workimg;
    }

    public void setWorkimg(String workimg) {
        this.workimg = workimg;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getGettime() {
        return gettime;
    }

    public void setGettime(Date gettime) {
        this.gettime = gettime;
    }

    public Date getOptime() {
        return optime;
    }

    public void setOptime(Date optime) {
        this.optime = optime;
    }

    public Date getStoptime() {
        return stoptime;
    }

    public void setStoptime(Date stoptime) {
        this.stoptime = stoptime;
    }

    public Integer getAssess() {
        return assess;
    }

    public void setAssess(Integer assess) {
        this.assess = assess;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getProjectid() {
        return projectid;
    }

    public void setProjectid(Integer projectid) {
        this.projectid = projectid;
    }

    public Integer getBoardid() {
        return boardid;
    }

    public void setBoardid(Integer boardid) {
        this.boardid = boardid;
    }

    public String getVoltmark() {
        return voltmark;
    }

    public void setVoltmark(String voltmark) {
        this.voltmark = voltmark;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getTaskdate() {
        return taskdate;
    }

    public void setTaskdate(String taskdate) {
        this.taskdate = taskdate;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", projectid=" + projectid +
                ", projectname='" + projectname + '\'' +
                ", projectcode='" + projectcode + '\'' +
                ", routerid=" + routerid +
                ", routername='" + routername + '\'' +
                ", cunsumerid=" + cunsumerid +
                ", cunsumername='" + cunsumername + '\'' +
                ", cunsumermobile='" + cunsumermobile + '\'' +
                ", factoryname='" + factoryname + '\'' +
                ", factoryuser='" + factoryuser + '\'' +
                ", factoryphone='" + factoryphone + '\'' +
                ", tasktype=" + tasktype +
                ", boardid=" + boardid +
                ", boardname='" + boardname + '\'' +
                ", voltmark='" + voltmark + '\'' +
                ", volume='" + volume + '\'' +
                ", usertype='" + usertype + '\'' +
                ", boardlng=" + boardlng +
                ", boardlat=" + boardlat +
                ", content='" + content + '\'' +
                ", working='" + working + '\'' +
                ", workimg='" + workimg + '\'' +
                ", createtime=" + createtime +
                ", gettime=" + gettime +
                ", optime=" + optime +
                ", stoptime=" + stoptime +
                ", assess=" + assess +
                ", status=" + status +
                ", taskdate=" + taskdate +
                '}';
    }
}
